This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.
This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.
The list of the themes | Global methods by category | Global methods by name | The list of the classes | The list of the controls |
class Registry | ||||
class, Windows Registry | Mo, 15. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Gives you access to the Windows Registry. | ||||
Notes:
Please send me an email if you need some functions which are now not included. | ||||
ClassesRoot as RegistryKey | ||||
method, Windows Registry | Mo, 15. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Gives you an RegistryKey object for the ClassesRoot Tree. | ||||
CurrentConfig as RegistryKey | ||||
method, Windows Registry | Mo, 15. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Gives you an RegistryKey object for the CurrentConfig Tree. | ||||
CurrentUser as RegistryKey | ||||
method, Windows Registry | Mo, 15. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Gives you an RegistryKey object for the CurrentUser Tree. | ||||
getBinaryStringValue(keypath as string,valuename as string) as String | ||||
method, Windows Registry | Mo, 15. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Gives you a binary String of the value called valuename in the key found at keypath. | ||||
Example:
const path="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion" r=new registry msgBox "This OS is: "+r.getBinaryStringValue(path, "ProductName") // Will have an chr(0) at the end. | ||||
getBinaryValue(keypath as string,valuename as string) as Memoryblock | ||||
method, Windows Registry | Mo, 15. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Gives you a Memoryblock of the value called valuename in the key found at keypath. | ||||
Example:
const path="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion" r=new registry msgBox "This OS is: "+r.getBinaryValue(path, "ProductName").cstring(0) | ||||
getStringValue(keypath as string,valuename as string) as String | ||||
method, Windows Registry | Mo, 15. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Gives you a String of the value called valuename in the key found at keypath. | ||||
Example:
const path="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion" r=new registry msgBox "This OS is: "+r.getStringValue(path, "ProductName") | ||||
Key(keypath as string) as RegistryKey | ||||
method, Windows Registry | Mo, 15. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Gives you an RegistryKey object for the given path of a key. | ||||
Example:
const path="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion" r=new registry msgBox r.Key(path).Name | ||||
Notes:
If you need you can recreate this function in Realbasic code to have some error checking. This function here will return nil on any error. | ||||
LocalMachine as RegistryKey | ||||
method, Windows Registry | Mo, 15. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Gives you an RegistryKey object for the LocalMachine Tree. | ||||
Users as RegistryKey | ||||
method, Windows Registry | Mo, 15. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Gives you an RegistryKey object for the Users Tree. |
Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.